function [ output ] = transferenceG( input )
%TRANSFERENCEG Summary of this function goes here
%   Detailed explanation goes here
BETA = 0.5;

for i=1:size(input)
    
     output(i) = tanh(BETA*input(i));
%        if(aux > UMBRAL)
%            output(i) = 1;
%       else
%            output(i) = -1;
%        end
end


%si fuera entre -1 y 1:
% output(i) = tanh(BETA*input(i));
